package com.springboot.mybatis.common.util;

import com.alibaba.fastjson.JSONObject;
import com.springboot.mybatis.module.admin.index.dto.ParamDTO;

public class test {
    public static void main(String[] args) throws Exception {
        ParamDTO dto = new ParamDTO();
        dto.setPageNum(1);
        dto.setPageSize(3);
        dto.setUserName("harrid");
        String result = Remote.POSTMethod("http://192.168.50.84:8080/admin/login", JSONObject.toJSONString(dto), "application/json");
        System.out.println("************************"+result);
    }
}
